export const routes = [
	{
		path: '/',
		name: 'layout',
		redirect:{name:'index'},
		component: () => import('@v/layout.vue'),
		children: [
			{
				path: "index",
				name: 'index',
				component: () => import('@v/index/index.vue'),
			},
			{
				path: "bill",
				name: 'bill',
				component: () => import('@v/bill/index.vue'),
			},
		]
	},
	{
		path:'/login',
		name:'login',
		meta:{title:'登录页'},
		component:()=>import('@v/login/index.vue')
	},
	{
		path:'*',
		redirect:{name:'index'},
	}
]

